const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    port: 8082,
    host: '0.0.0.0',
    allowedHosts: 'all',
    proxy: {
      '/api': {
        target: 'http://192.168.5.18:8080',
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/nepm'
        }
      }
    }
  }
})